﻿

using System;

namespace Demo.Domain
{
    public interface IRoleRepository
    {
        Role GetByName(string roleName);
        
        bool Exists(string roleName);

        Role CreateRole(string roleName, Int32 sort);

        bool DeleteRole(Int32 roleID);

        void ChangeRole(Role role);

    }
}
